import math
n=2304
max_=float("-inf")
min_=float("inf")
for i in n:
    if n >max_:
        max_=n
    if n <min_
        min_=n
print(max)
print(min)
def r(n):
    if not n:
        return 0
    else:
        return(not int(n[0])%2) + r (n[1:])
print(r(n))
count=0
while(n>0)
count=count+1
print("Кол-во цифр равна:",count)
input_number = int(input("Введите число:"))
sqrt_number = math.sqrt(input_number)
print(sqrt_number == int (sqrt_number))


    

